import AdminSidebar from '@/components/admin/admin-sidebar';
import { BreadcrumbComp } from '@/components/common/breadcrumb';
import { SidebarProvider, SidebarTrigger } from '@/components/ui/sidebar';

export default function Layout({ children }: { children: React.ReactNode }) {
  return (
    <SidebarProvider>
      <AdminSidebar />
      <main className="w-full px-5 bg-muted-foreground/10">
        <div className="flex items-center  gap-2 my-3">
          <SidebarTrigger />
          <BreadcrumbComp />
        </div>
        {children}
      </main>
    </SidebarProvider>
  );
}
